package eleanor.ltd.isne.services;

import eleanor.ltd.isne.entities.user.User;
import eleanor.ltd.isne.security.AuthenticationException;

public interface Authenticator {

	public User getLoggedUser();

    public boolean isLoggedIn();

    public void login(String username, String password)
                    throws AuthenticationException;

    public void logout();
    
    public boolean isAdmin();
  
    
}
